<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2018/5/20
  Time: 22:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<html>
<head>
    <title>用户注册</title>
    <style type="text/css">
        #error{
            color: red;
        }
    </style>
</head>

<body>
<h1>注册界面</h1>
<form method="post" action="register">
    用户名：<input type="text" name="username">
    密码：<input type="text" name="password">

    <input type="submit" value="注册"><button><a href="login.jsp">已有账号，返回登录</a></button><p id="error" >${error}</p>
</form>
</body>
</html>
